//
//  SplashScreen.h
//  danpin
//
//  Created by lcb on 6/18/15.
//  Copyright (c) 2015 chuangjia. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SplashScreen;

@protocol SplashScreenDelegate <NSObject>
@optional
- (void) splashScreenDidAppear:(SplashScreen *)splashScreen;
- (void) splashScreenWillDisappear:(SplashScreen *)splashScreen;
- (void) splashScreenDidDisappear:(SplashScreen *)splashScreen;

@end

@interface SplashScreen : UIViewController
@property (nonatomic, retain) UIImage *splashImage;
@property (nonatomic, assign) BOOL showsStatusBarOnDismissal;
@property (nonatomic, assign) IBOutlet id<SplashScreenDelegate> delegate;
- (void)hide;
@end
